package cn.edu.nju.software.sqlitemanage;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ManageConnection {

	private static String url = "jdbc:sqlite://home/chuanyili/coursechoose";
	
	public static Connection getConnection() throws ClassNotFoundException, SQLException{
		Class.forName("org.sqlite.JDBC");
		Connection conn = DriverManager.getConnection(url);
		return conn;
	}
}
